package org.example.controller;

import org.example.base.BaseResult;
import org.example.base.BaseVO;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
@ResponseBody
public class TestController {

    @RequestMapping("/test")
    @ResponseBody
    public BaseResult<BaseVO> test(String userId, String talkId, String msg) {
        BaseVO  baseVO = new BaseVO();
        baseVO.setOfferPrice(1L);
        return BaseResult.buildSucc(baseVO);
    }
}
